Population class extension: grid sampling functions module

Module containing the gridcode generation functions for the binarycpython package.

This class object is an extension to the population grid object

class binarycpython.utils.population_extensions.grid_sampling.boxed_context_manager(population_object, width_box=40)[source]

Bases: object

class binarycpython.utils.population_extensions.grid_sampling.grid_sampling(**kwargs)[source]

Bases: object

Extension to the population grid object that contains functionality to handle the metadata that will be put in the ensemble

class binarycpython.utils.population_extensions.grid_sampling.indentation_context_manager(population_object, indentation_delta=1)[source]

Bases: object